package org.example.cloudprovidercontroller8002.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@Component
@FeignClient(value = "payment-service")
public interface PaymentFeign {
    @GetMapping("/student/findStudent")
    Object findStudent(@RequestParam("id") Integer id);
}
